<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>List functions scoutapm will instrument.</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="function.scoutapm-get-calls.html">« scoutapm_get_calls</a></li>
      <li style="float: right;"><a href="book.snmp.html">SNMP »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="ref.scoutapm.html">Scoutapm 函数</a></li>
    <li>List functions scoutapm will instrument.</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="function.scoutapm-list-instrumented-functions" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">scoutapm_list_instrumented_functions</h1>
  <p class="verinfo">(PECL scoutapm &gt;= 1.0.2)</p><p class="refpurpose"><span class="refname">scoutapm_list_instrumented_functions</span> &mdash; <span class="dc-title">List functions scoutapm will instrument.</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.scoutapm-list-instrumented-functions-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>scoutapm_list_instrumented_functions</strong></span>(): <span class="type">array</span></div>

  <p class="para rdfs-comment">Returns a list of the functions the extension will instrument.</p>

 </div>


 <div class="refsect1 parameters" id="refsect1-function.scoutapm-list-instrumented-functions-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.scoutapm-list-instrumented-functions-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   <span class="function"><strong>scoutapm_list_instrumented_functions()</strong></span> returns an array
   containing a list of all functions that the scoutapm extension is able to
   instrument in the current installation.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.scoutapm-list-instrumented-functions-examples">
  <h3 class="title">范例</h3>
  <p class="para">
   <div class="example" id="example-4457"><p><strong>示例 #1 Fetch the list of functions scoutapm will instrument</strong></p>
    <div class="example-contents">
     <div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br />print_r</span><span style="color: #007700">(</span><span style="color: #0000BB">scoutapm_list_instrumented_functions</span><span style="color: #007700">());<br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
    </div>

    <div class="example-contents"><p>以上例程的输出类似于：</p></div>
    <div class="example-contents screen">
     <div class="cdata"><pre>
Array
(
    [0] =&gt; file_get_contents
    [1] =&gt; file_put_contents
    [2] =&gt; fopen
    [3] =&gt; fread
    [4] =&gt; fwrite
    [5] =&gt; pdo-&gt;exec
    [6] =&gt; pdo-&gt;query
    [7] =&gt; pdo-&gt;prepare
    [8] =&gt; pdostatement-&gt;execute
)
</pre></div>
    </div>
   </div>
  </p>
 </div>



</div></div></div></body></html>